<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>background-attachment应用</title>
		<style type="text/css">
			body{
				background-image: url(../img/i.jpg);
				background-repeat: no-repeat;
				background-attachment: fixed;
			}
			p{
				height: 500px;
			}
		</style>
	</head>
	<body>
		<p>图片不随内容滚动</p><br /><br />
		<p>图片不随内容滚动</p><br /><br />
		<p>图片不随内容滚动</p><br /><br />
		<p>图片不随内容滚动</p><br /><br />
	</body>
</html>
